package com.jiepu.exercise.advanceed.chapter1.test3;

import com.jiepu.exercise.advanceed.chapter1.test3.inter.Alarm;
import com.jiepu.exercise.advanceed.chapter1.test3.inter.Door;
import com.jiepu.exercise.advanceed.chapter1.test3.inter.Lock;

/**
 * @Description: 防盗门
 * @author: xinjie.txt
 * @date: 2020/7/14  12:03
 */
public class SecurityDoor implements Lock, Alarm,Door {
	@Override
	public void open() {
		System.out.println("打卡防盗门....");
	}

	@Override
	public void close() {
		System.out.println("关闭防盗门....");
	}

	@Override
	public void lock() {
		System.out.println("防盗门上锁....");
	}

	@Override
	public void unlock() {
		System.out.println("防盗门开锁....");
	}

	@Override
	public void alarm() {
		System.out.println("有人强行突破防盗门....");
	}
}
